package com.smarthealthring.mm.contract;

import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.base.IView;
import com.smarthealthring.mm.bean.SyncDataRes;

import java.util.Map;

/**
 * Created by bilibili on 2018/5/27.
 */

public interface HealthyContract {
    interface View extends IView {
        void syncDataSuccess(SyncDataRes res);
        void syncDataFail();
    }

    interface Presenter extends IPresenter<HealthyContract.View> {
        void syncData(Map<String, String> params);
    }
}
